﻿namespace OpenWaves
{
    public static class Resolver
    {
        public static readonly IResolver Null = new NullResolver();

        private class NullResolver : IResolver
        {
            public bool TryResolve<T>(out T service) where T : class
            {
                service = null;
                return false;
            }
        }
    }
}